xen: Restore the BAR and PCI command after resume.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Jul 2011 08:30:25 +0000 (09:30 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Jul 2011 08:30:25 +0000 (09:30 +0100)
commitac17df064feaa2e0a5c2feb01d9021d60405778f
treeaad2db85146953a08fcb744c76d374c34a25956b
parent9738db88f68f251b9abc68b597f54e9c80fdec66
xen: Restore the BAR and PCI command after resume.

Certain PCI serial cards just don't want to remember
what they are when they come out of resume. Save
the BAR and the PCI command values before we suspend and
write them back in when we resume.

Signed-off-by: Roger Cruz <roger.cruz@virtualcomputer.com>
Signed-off-by: Tom Goetz <tom.goetz@virtualcomputer.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/drivers/char/ns16550.c